package poem_info;

public class Poem {
    private Integer id;
    private String title;
    private Integer dynasty_id;
    private Integer writer_id;
    private String content;
    private String purl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getDynasty_id() {
        return dynasty_id;
    }

    public void setDynasty_id(Integer dynasty_id) {
        this.dynasty_id = dynasty_id;
    }

    public Integer getWriter_id() {
        return writer_id;
    }

    public void setWriter_id(Integer writer_id) {
        this.writer_id = writer_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPurl() {
        return purl;
    }

    public void setPurl(String purl) {
        this.purl = purl;
    }

    @Override
    public String toString() {
        return "Poem{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", dynasty_id=" + dynasty_id +
                ", writer_id=" + writer_id +
                ", content='" + content + '\'' +
                ", purl='" + purl + '\'' +
                '}';
    }
}
